package com.huiyuan.domain;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author huiyuan080
 * @data 2023/5/2
 * @apiNote
 */
public class Bike implements Serializable {
    /**
    * 车辆id
    */
    private Integer bikeId;

    /**
    * 车辆单价 
    */
    private BigDecimal bikePrice;

    /**
    * 车辆状态(0-未被出租，1-已被出租)
    */
    private String bikeState;

    /**
    * 车辆否可用(0-可用，1-损坏)  

    */
    private String bikeAvailable;

    private static final long serialVersionUID = 1L;

    public Integer getBikeId() {
        return bikeId;
    }

    public void setBikeId(Integer bikeId) {
        this.bikeId = bikeId;
    }

    public BigDecimal getBikePrice() {
        return bikePrice;
    }

    public void setBikePrice(BigDecimal bikePrice) {
        this.bikePrice = bikePrice;
    }

    public String getBikeState() {
        return bikeState;
    }

    public void setBikeState(String bikeState) {
        this.bikeState = bikeState;
    }

    public String getBikeAvailable() {
        return bikeAvailable;
    }

    public void setBikeAvailable(String bikeAvailable) {
        this.bikeAvailable = bikeAvailable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", bikeId=").append(bikeId);
        sb.append(", bikePrice=").append(bikePrice);
        sb.append(", bikeState=").append(bikeState);
        sb.append(", bikeAvailable=").append(bikeAvailable);
        sb.append("]");
        return sb.toString();
    }
}